package core;

import java.util.Set;
import persistence.Rating;
import persistence.Team;

public interface ITeamDAO extends IDAO<Team> {

    Set<Team> getTeamsByGame(int idGame);

    Set<Team> getTeamsByPlayer(int idPlayer);

    Set<Team> getTeamsByDiscipline(int idDiscipline);

    Set<Team> getTeamsByOwner(int idUser);

    Rating getRating(int idTeam);

    void changeRating(int idTeam, Rating r);
}
